package com.erdos.hyt.mall.model;//

import com.erdos.hyt.base.annotations.ImageUrl;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;

import java.time.LocalDateTime;
import java.util.Date;//

/**
 * 商城图片
 * @author liurong
 * @date 2017年4月1日
 */
@Alias("mallImgs")
public class MallImgs {
    
    @ApiModelProperty(value = "图片ID")
    private Integer imgId;//图片ID

    @ApiModelProperty(value = "商品ID")
    private Integer goodsId;//商品ID

    @ApiModelProperty(value = "图片类型")
    private String imgType;//图片类型

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;//创建时间

    @ApiModelProperty(value = "创建用户")
    private Integer createUser;//创建用户

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;//更新时间

    @ApiModelProperty(value = "更新用户")
    private Integer updateUser;//更新用户

    @ApiModelProperty(value = "删除标记")
    private String delFlag;//删除标记

    @ApiModelProperty(value = "图片地址")
    @ImageUrl(type = 1)
    private String imgUrl;//图片地址

    public Integer getImgId() {
        return imgId;//
    }

    public void setImgId(Integer imgId) {
        this.imgId = imgId;//
    }

    public Integer getGoodsId() {
        return goodsId;//
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;//
    }

    public String getImgType() {
        return imgType;//
    }

    public void setImgType(String imgType) {
        this.imgType = imgType == null ? null : imgType.trim();//
    }

   

    public Integer getCreateUser() {
        return createUser;//
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;//
    }

   

    public Integer getUpdateUser() {
        return updateUser;//
    }

    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;//
    }

    public String getDelFlag() {
        return delFlag;//
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag == null ? null : delFlag.trim();//
    }

    public String getImgUrl() {
        return imgUrl;//
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl == null ? null : imgUrl.trim();//
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    
}